package com.itheima.dubbo.interfaces;

import com.itheima.commons.pojo.UserInfo;

import java.util.List;
import java.util.Map;

public interface UserInfoApi {
    //添加用户信息
    void addUserInfo(UserInfo userInfo);

    //更新头像
    void updatePic(Long uid, String picUrl);

    UserInfo findById(Long userId);

    Map<Long, UserInfo> findUserInfoByUserid(UserInfo userInfo, List<Long> userIdList);
}
